package com.core.family.admin.domain.po;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

/**
 * @author honglei
 * @version 1.0
 * @time: 2023-7-13 15:03:14
 * @Description PO对象 支付流水-对接支付工具
 */
@Data
@TableName(value = "plat_payment")
public class PlatPayment implements Serializable {


        /*
        *  账单id
        */
        @TableField(value = "finance_id")
        private Integer financeId;

        /*
        *
        */
        @TableField(value = "id")
        private Integer id;

        @TableField(value = "status")
        private Integer status;//支付狀態0待执行,1执行中,2已取消,3已关闭,4已成功

        @TableField(value = "pay_sn")
        private String paySn;
        @TableField(value = "pay_way")
        private String payWay;

        @TableField(value = "pay_type")
        private String payType;

        @TableField(value = "prepay_id")
        private String prepayid;

        @TableField(value = "refund_no")
        private String refundNo;

        @TableField(value = "amount")
        private Integer amount;






        /*
         *
         */
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        @TableField(value = "create_time")
        private Date createTime;

        /*
         *
         */
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        @TableField(value = "notice_time")
        private Date noticeTime;



}
